
#include "gpio.h"
#include "cpu_io.h"
#include "uart.h"


void delay(const unsigned long count)
{
	volatile unsigned long i = count;

	while(i--);
}

int main()
{
	struct s5pv210_gpio *gpio = (struct s5pv210_gpio *)S5PV10_GPIO_BASE;
	write32(0x00001111, &gpio->j2.con);

	uart_init();
	
	#if 1
	while(1)
	{
		putc('1');
		putc('2');
		putc('3');
		putc('4');
		write32(0, &gpio->j2.dat);
		delay(0x100000);
		write32(0xf, &gpio->j2.dat);
		delay(0x100000);
	}
	#endif
}



